package com.ray.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * 维修工单设备Bean
 * @author Shensg
 * 2018年8月7日
 */
public class WorkOrderMachineBean implements Serializable{
	/**
	 * 序列化
	 */
	private static final long serialVersionUID = 3637238657654253323L;
	
	private int id;
	//设备型号
	private String machineModel;
	//设备编号
	private String machineSerialNo;
	//出厂日期
	private String outTime;
	//买家
	private String buyer;
	//维修主管
	private String serviceManager;
	//维修技工
	private String serviceWorker;
	//创建时间
	private String createTime;
	//修改时间
	private String updateTime;
	//公司
	private String company;
	//创建人
	private String creater;
	//创建人用户id
	private int createrId;
	//启用状态
	private int status;//-1删除 0 不启用 1启用
	//关联订单编号
	private String orderNo;
	//关联订单编号显示的工厂型号
	private String factoryNo;
	//物联网卡编号
	private String internetThingsCard;
	//警报类型
	private String typeName;
	//地区名称
	private  String districtName;
	//地区代码
	private  String districtCode;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getMachineModel() {
		return machineModel;
	}
	public void setMachineModel(String machineModel) {
		this.machineModel = machineModel;
	}
	public String getMachineSerialNo() {
		return machineSerialNo;
	}
	public void setMachineSerialNo(String machineSerialNo) {
		this.machineSerialNo = machineSerialNo;
	}
	
	public String getOutTime() {
		return outTime;
	}
	public void setOutTime(String outTime) {
		this.outTime = outTime;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public String getBuyer() {
		return buyer;
	}
	public void setBuyer(String buyer) {
		this.buyer = buyer;
	}
	public String getServiceManager() {
		return serviceManager;
	}
	public void setServiceManager(String serviceManager) {
		this.serviceManager = serviceManager;
	}
	public String getServiceWorker() {
		return serviceWorker;
	}
	public void setServiceWorker(String serviceWorker) {
		this.serviceWorker = serviceWorker;
	}
	
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getCreater() {
		return creater;
	}
	public void setCreater(String creater) {
		this.creater = creater;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public int getCreaterId() {
		return createrId;
	}
	public void setCreaterId(int createrId) {
		this.createrId = createrId;
	}
	
	public String getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	public String getFactoryNo() {
		return factoryNo;
	}
	public void setFactoryNo(String factoryNo) {
		this.factoryNo = factoryNo;
	}
	
	public String getInternetThingsCard() {
		return internetThingsCard;
	}
	public void setInternetThingsCard(String internetThingsCard) {
		this.internetThingsCard = internetThingsCard;
	}
	
	public String getTypeName() {
		return typeName;
	}
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	
	public String getDistrictName() {
		return districtName;
	}
	public void setDistrictName(String districtName) {
		this.districtName = districtName;
	}
	public String getDistrictCode() {
		return districtCode;
	}
	public void setDistrictCode(String districtCode) {
		this.districtCode = districtCode;
	}
	@Override
	public String toString() {
		return "WorkOrderMachineBean [id=" + id + ", machineModel=" + machineModel + ", machineSerialNo="
				+ machineSerialNo + ", outTime=" + outTime + ", buyer=" + buyer + ", serviceManager=" + serviceManager
				+ ", serviceWorker=" + serviceWorker + ", createTime=" + createTime + ", updateTime=" + updateTime
				+ ", company=" + company + ", creater=" + creater + ", createrId=" + createrId + ", status=" + status
				+ "]";
	}
	
}
